$OpenBSD: patch-configure,v 1.3 2012/01/21 07:53:58 ajacoutot Exp $
--- configure.orig	Sat Jan  7 17:32:32 2012
+++ configure	Sat Jan  7 17:33:52 2012
@@ -2001,9 +2001,10 @@ else
   cat > conftest.$ac_ext <<EOF
 #line 2003 "configure"
 #include "confdefs.h"
+#include <sys/types.h>
 #include <sys/socket.h>
 int main() {
-socklen_t len = 42; return len;
+socklen_t x;
 ; return 0; }
 EOF
 if { (eval echo configure:2010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
